.class Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;
.super Ljava/lang/Object;
.source "VersionCompatibilityUtil.java"

# interfaces
.implements Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/util/VersionCompatibilityUtil;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "MotionEventUtil_DONUT_UP"
.end annotation


# direct methods
.method private constructor <init>()V
    .locals 0

    .prologue
    .line 71
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;)V
    .locals 0
    .parameter

    .prologue
    .line 71
    invoke-direct {p0}, Lcom/netease/newsreader/util/VersionCompatibilityUtil$MotionEventUtil_DONUT_UP;-><init>()V

    return-void
.end method


# virtual methods
.method public getAction(Landroid/view/MotionEvent;)I
    .locals 1
    .parameter "event"

    .prologue
    .line 75
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    and-int/lit16 v0, v0, 0xff

    return v0
.end method

.method public getPointerCount(Landroid/view/MotionEvent;)F
    .locals 1
    .parameter "event"

    .prologue
    .line 100
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getPointerCount()I

    move-result v0

    int-to-float v0, v0

    return v0
.end method

.method public getPointerId(Landroid/view/MotionEvent;I)I
    .locals 1
    .parameter "event"
    .parameter "pointerIndex"

    .prologue
    .line 80
    invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->getPointerId(I)I

    move-result v0

    return v0
.end method

.method public getPointerIndex(Landroid/view/MotionEvent;)I
    .locals 2
    .parameter "event"

    .prologue
    .line 85
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    const v1, 0xff00

    and-int/2addr v0, v1

    shr-int/lit8 v0, v0, 0x8

    return v0
.end method

.method public getX(Landroid/view/MotionEvent;I)F
    .locals 1
    .parameter "event"
    .parameter "pointerIndex"

    .prologue
    .line 90
    invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->getX(I)F

    move-result v0

    return v0
.end method

.method public getY(Landroid/view/MotionEvent;I)F
    .locals 1
    .parameter "event"
    .parameter "pointerIndex"

    .prologue
    .line 95
    invoke-virtual {p1, p2}, Landroid/view/MotionEvent;->getY(I)F

    move-result v0

    return v0
.end method
